package com.ict.web.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 绩效统计出参实体 vo
 *
 * @author xss
 * @date 2022-03-11
 */
@Data
public class PerformanceStatisticsListVo {
    /** 项目id */
    @ApiModelProperty(value = "项目id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long projectId;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称")
    @Excel(name = "项目名称")
    private String name;

    /** 项目性质:{0:年度项目;1:增补项目;} */
    @ApiModelProperty(value = "项目性质:{0:年度项目;1:增补项目;}")
    @Excel(name = "项目性质:{0:年度项目;1:增补项目;}")
    private String nature;

    /** 项目单位 */
    @Excel(name = "项目单位")
    @ApiModelProperty(value = "项目单位")
    private String company;

    /** 项目类别:{0:建设类;1:购买服务类;} */
    @ApiModelProperty(value = "项目类别:{0:建设类;1:购买服务类;}")
    @Excel(name = "项目类别:{0:建设类;1:购买服务类;}")
    private String type;

    /** 截至时间 */
    @ApiModelProperty(value = "考核结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;

    @Excel(name = "考核结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String time;

    /** 计划名称 */
    @ApiModelProperty(value = "计划名称")
    @Excel(name = "计划名称")
    private String annualProjectPlanName;

    /**  绩效分数 */
    @ApiModelProperty(value = "绩效分数")
    @Excel(name = "绩效分数")
    private Double performanceScore;

    /**  绩效Id */
    @ApiModelProperty(value = "绩效Id")
    @Excel(name = "绩效Id")
    private Long perId;
}
